<?php

namespace app\admin\model\system;

use think\Model;
use think\Session;

class Admin extends Model
{
    protected $name = 'system_admin';
   
    protected $hidden = [
        'password',
      
    ];

    public function getAuthList()
    {
        $list = (new Auth())
            ->where('status', 1)
            ->column('title', 'id');
        return $list;
    }

}
